package com.yzy.baselibrary.base

import android.app.Application

/**
 *description: Application的生命周期的回调.
 *@date 2018/10/16 14:21.
 *@author: YinZeYu.
 */
interface AppLifecycle {

  fun onCreate(application: Application)

  fun onTerminate(application: Application?)

  //切换到前台
  fun onFront()

  //切换到后台
  fun onBackgroud()
}